<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .div{
            width: 150px;
            height: 300px;
            float: left;
            margin-left: 20px;
            overflow: hidden;
            border: 1px solid grey;
            margin-top: 20px;
        }
        .main{
            width: 600px;
            margin: 0 auto;
        }
    </style>
</head>
<body>

    <volist name="blogs" id="blog">
        <div class="main">
            <div class="div">
                <img src="/php.homework/blog/{$blog.url}"width="150" height="200">
                <h3>{$blog.title}</h3>
                <h5>{$blog.summary}</h5>
            </div>
        </div>


    </volist>

</body>
</html>